import axios from "axios"
let instance  =axios.create({
    baseURL:"http://localhost:3000",
    timeout:5000
})
// 请求拦截
instance.interceptors.request.use((config)=>{
    return config
})
// 相应拦截
instance.interceptors.response.use((response)=>{
    return response
})
export default instance